import request from '@/utils/request'

export function getOrder(data) {
  return request({
    url: 'order/page',
    method: 'post',
    data
  })
}

export function getOrderDetail(data) {
  return request({
    url: '/order/' + data,
    method: 'get'
  })
}

export function getOrderDetailByPlateNumber(data) {
  return request({
    url: '/order/plateNumber',
    method: 'get',
    params: data
  })
}
